-
-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SolarXR IPC Socket #1247
SolarXR IPC Socket #1247
Conversation
Marked as draft since I'm not sure I have |
This looks fine, i think it should be ready for review and rebased. The details like try/catch could be found on review and testing. |
alright |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine
server/core/src/main/java/dev/slimevr/protocol/ProtocolAPI.java
Outdated
Show resolved
Hide resolved
ef8ff74
to
cf6aac9
Compare
111b37c
to
f1e2e88
Compare
server/desktop/src/main/java/dev/slimevr/desktop/platform/linux/UnixSocketConnection.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great now
This patch introduces an IPC interface for communicating with the server via SolarXR ー exposing bone data not available through the existing Protobuf API while remaining more reliable and performant compared to the WebSocket API. Monado will require this interface to implement XR_FB_body_tracking while maintaining latency parity with the OpenVR driver (see https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2253).
It also fixes a one line bug in the WebSocket API where messages got clobbered on send, resulting in all but the first SolarXR connection receiving mangled data.